import {
	request
} from '@/utils/request.js'

export function staff_lists(data) { // 员工列表
	return request({
		url: '/basic/staff_lists',
		method: 'post',
		data: data
	})
}
export function staff_add(data) { // 员工添加
	return request({
		url: '/basic/staff_add',
		method: 'post',
		data: data
	})
}
export function staff_type_select(data) { // 员工类型选择
	return request({
		url: '/basic/staff_type_select',
		method: 'post',
		data: data
	})
}
export function staff_state(data) { // 员工状态更改
	return request({
		url: '/basic/staff_state',
		method: 'post',
		data: data
	})
}

export function comment_select(data) { // 评论列表
	return request({
		url: '/basic/comment_select',
		method: 'post',
		data: data
	})
}

export function warehouse_index(data) { // 仓库列表
	return request({
		url: '/basic/warehouse_index',
		method: 'post',
		data: data
	})
}

export function warehouse_save(data) { // 仓库更新
	return request({
		url: '/basic/warehouse_save',
		method: 'post',
		data: data
	})
}

export function warehouse_del(data) { // 仓库删除
	return request({
		url: '/basic/warehouse_del',
		method: 'post',
		data: data
	})
}

export function storage_save(data) { // 货位更新
	return request({
		url: '/basic/storage_save',
		method: 'post',
		data: data
	})
}

export function storage_lists(data) { // 货位列表
	return request({
		url: '/basic/storage_lists',
		method: 'post',
		data: data
	})
}

export function storage_del(data) { // 货位删除
	return request({
		url: '/basic/storage_del',
		method: 'post',
		data: data
	})
}

export function stock_storage(data) { // 仓库货位
	return request({
		url: '/basic/stock_storage',
		method: 'post',
		data: data
	})
}
export function storage(data) { // 仓库货位
	return request({
		url: '/basic/storage',
		method: 'post',
		data: data
	})
}

export function stock_save(data) { // 入库
	return request({
		url: '/basic/stock_save',
		method: 'post',
		data: data
	})
}

export function stock_lists(data) { // 历史
	return request({
		url: '/basic/stock_lists',
		method: 'post',
		data: data
	})
}

export function stock_find(data) { // 入库查询
	return request({
		url: '/basic/stock_find',
		method: 'post',
		data: data
	})
}

export function stock_out(data) { // 出库
	return request({
		url: '/basic/stock_out',
		method: 'post',
		data: data
	})
}

export function invite_info(data) { // 邀请详情
	return request({
		url: '/basic/invite_info',
		method: 'post',
		data: data
	})
}
export function agree_request(data) { // 同意请求
	return request({
		url: '/basic/agree_request',
		method: 'post',
		data: data
	})
}
export function jujue_request(data) { // 拒绝请求
	return request({
		url: '/basic/jujue_request',
		method: 'post',
		data: data
	})
}

export function jiebang_bind(data) { // 解绑记录查看
	return request({
		url: '/basic/jiebang_bind',
		method: 'post',
		data: data
	})
}

export function shensu_bind(data) { // 申诉记录查看
	return request({
		url: '/basic/shensu_bind',
		method: 'post',
		data: data
	})
}

export function submit_bind(data) { // 公司提交 绑定申请 给司机
	return request({
		url: '/basic/submit_bind',
		method: 'post',
		data: data
	})
}

export function insert_history(data) { // 插入历史记录
	return request({
		url: '/index/insert_history',
		method: 'post',
		data: data
	})
}


// 司机身份变更
export function identity_change(data) { 
	return request({
		url: '/basic/identity_change',
		method: 'post',
		data: data
	})
}

// 我的同事
export function my_colleague(data) { 
	return request({
		url: '/basic/my_colleague',
		method: 'post',
		data: data
	})
}


// 我的任务
export function my_task(data) { 
	return request({
		url: '/basic/my_task',
		method: 'post',
		data: data
	})
}

// 多语言 认证保存提交
export function crontab_cate(data) { 
	return request({
		url: '/basic/cate',
		method: 'post',
		data: data
	})
}

// 采购商列表
export function searchCaigouUser(data) { 
	return request({
		url: '/basic/search_caigou_user',
		method: 'post',
		data: data
	})
}



// 服务时长
export function request_minute(data) { 
	return request({
		url: '/user/request_minute_score',
		method: 'post',
		data: data
	})
}






